package com.world.wifi.domain;

import java.math.BigDecimal;

import com.world.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.world.common.annotation.Excel;

/**
 * 计费信息对象 wifi_cost
 * 
 * @author LiJunXi
 * @date 2025-05-27
 */
public class WifiCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计费信息ID */
    private Long costId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 计费方式 */
    @Excel(name = "计费方式")
    private String costMethod;

    /** 计费周期 */
    @Excel(name = "计费周期")
    private Integer costPeriod;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal cost;

    public void setCostId(Long costId) 
    {
        this.costId = costId;
    }

    public Long getCostId() 
    {
        return costId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCostMethod(String costMethod) 
    {
        this.costMethod = costMethod;
    }

    public String getCostMethod() 
    {
        return costMethod;
    }

    public void setCostPeriod(Integer costPeriod) 
    {
        this.costPeriod = costPeriod;
    }

    public Integer getCostPeriod() 
    {
        return costPeriod;
    }

    public void setCost(BigDecimal cost) 
    {
        this.cost = cost;
    }

    public BigDecimal getCost() 
    {
        return cost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("costId", getCostId())
            .append("userId", getUserId())
            .append("costMethod", getCostMethod())
            .append("costPeriod", getCostPeriod())
            .append("cost", getCost())
            .append("createTime", getCreateTime())
            .toString();
    }
}
